Split unit and integration tests
Move tests from Model/Database to Lib/MySQL
Set Apps.cakePath config to absolute path
Improve set current application logic
Improve naming update schema methods