Repositories implementation with many other changes

- Implemented repositories.

- Added namespacing to controllers. admin and frontend.

- Changed the template system. Layout>Template>Called View. Each step has it's own CSS/JS custom script and can call specific layouts or templates for their needs. Seems pretty modular.

- Dropped the whole API. Will make it a later feature branch.

- Changed some packages around, check composer.json

TODO:
[ ] Frontend posts display and frontpage properly.
[ ] Unit testing with CodeCeption. I really like this tool as I learn more about it and think it would be nice to base all testing on it as it can do phpunit tests as well.
[ ] Update readme.md with all the changes.
[ ] Add a contributing.md for git flow and may I suggest taking a look at this tool: http://datasift.github.com/gitflow/GitFlowForGitHub.html

I'll edit as I think of more things I changed or seem urgent on the todo for this feature branch merge.