Add function for making vars in zm.conf global in api

This loops throgh zm.conf and sets each variable in it
as global in CakePHP via Configure::write.  The vars
can then later be read withing CakePHP via Configure::read
daemonCheck finds zmdc.pl via Configure::read
Add getDiskPercent function to the api

Returns the amount of space used
Get the diskPercent from angular, via the API
Removed a console.log()