Feature/symfony2 rest api

At first glance it seems to have improved the build performance. :+1: . Note there is not many tests at the moment.

![screen shot 2014-12-14 at 19 10 54](https://cloud.githubusercontent.com/assets/624760/5428686/10f14188-83c5-11e4-8041-7ba426b19a56.png)