Methodological Issues in First-Principle Calculations of CH3NH3PbI3 Perovskite Surfaces: Quantum Confinement and Thermal Motion