refactors theme handling
closes #177 - Update CakePHP to 2.4.4