Importing external bundles.

Importing FOSRestBundle and JMSSerializerBundle for use in building API.
Fixed database connection settings.
FOS REST config changes in tail file

Tail file can be added to the end of config.php during deployment.
Fixed ApiBundle Reference

Fixed AppKernel reference to ApiBundle.
New nginx conf files

Changed nginx conf files because of problems editing js files through a
VM.
Merge pull request #7 from inniscor/feature/back-end

Feature/back end