Add Boxfile to support PaaS for pagodabox.com
Fix the spaces in boxfile
Add db setting for pagoda
Remove config directory from writable directory
Update installation script to allow predefined DB settings

For the PaaS, settings are read-only, the DB settings has to be
predefined and using the environment variables.
Update to mysqli connection
Rollback to mysql driver
Debug mysql connect
Remove var_dump
Move installed.txt into TMP directory

So we can remove writable access to app/config directory and have all
the write access within TMP directory
Add guard config file to boxfile
Update boxfile
Update boxfile
Update boxfile and add system test case
Update bootstrap for constant
Fix a wrong parameter order in event controller

The parameter order has been change in modifySchedule, but it is not
changed in event controller