Refactored application. No more static classes, no more static libraries. App libraries converted to services. Bootstrap for unit tests and public index cleaned up and moved to a Bootstrap class. All unit tests pass.

--HG--
rename : app/config/constants.php => app/etc/constants.php
rename : app/config/helpers.php => app/etc/helpers.php
rename : app/config/routes.php => app/etc/routes.php