Implement shutdown/reboot start/stop services etc

new features:
shutdown/reboot your raspberry
start/stop services
mount/unmount partitions

Only availables if www-data has root permission

Some images

http://i853.photobucket.com/albums/ab94/lorenzorogai/warning_zps12d32a82.png

http://i853.photobucket.com/albums/ab94/lorenzorogai/mountpoint_zpsa41eacfe.png

http://i853.photobucket.com/albums/ab94/lorenzorogai/nopermission_zpsb9c58743.png

http://i853.photobucket.com/albums/ab94/lorenzorogai/nopermission-services_zpsf3922b33.png

http://i853.photobucket.com/albums/ab94/lorenzorogai/nopermission-disks_zps1424cd23.png
Fix mountpoint containing a space

Fix show/mount/unmount a mountpoint containing a space
Check sudo access in a proper way

Thanks to KenMacD
Implement phpseclib

Implemented phpseclib library to login as root and perform root actions
The following features requires to login with a user having root
permission:
shutdown/reboot your raspberry
start/stop services
mount/unmount partitions

Images:

http://i853.photobucket.com/albums/ab94/lorenzorogai/login_zpsefc6ca5d.png

http://i853.photobucket.com/albums/ab94/lorenzorogai/loginfailed_zps7ffff423.png

http://i853.photobucket.com/albums/ab94/lorenzorogai/login_ok_zps56e541d0.png

http://i853.photobucket.com/albums/ab94/lorenzorogai/login_disks_zpsecde62ed.png

http://i853.photobucket.com/albums/ab94/lorenzorogai/login_disks_ok_zps22be1a5e.png

http://i853.photobucket.com/albums/ab94/lorenzorogai/login_disks_unmount_zpsfa45571a.png
Code style
Merge pull request #146 from LorenzoRogai/master

Implement phpseclib
Fix for non-root user actions

Added sudo to shutdown,reboot,mount,changeservicestatus actions
Merge pull request #154 from LorenzoRogai/master

Fix for non-root user actions