To avoid the SD card corruption issues you should always shut down the OS properly, you. You can automate this by using a power controller hardware solution and a script that is triggered through a GPIO port signal, for example (in addition to the Pi Supply mentioned above) :
- http://mausberry-circuits.myshopify.com/Mausberry Circuits
- http://msl-digital-solutions.myshopify.com/products/remotepi-boardRemotePi Board 2015
The RemotePi Board in the last link has the added functionality of using IR remotes to power on/off the RaspberryPiRaspberry Pi.