Settings screen work on controller details

Work in progress, displaying layout controller properties in modal
window in the layout details page.
Manage settings on server through REST call /settings

Implemented a single setting object on the database
Select loco and layout

Application now correctly selects locomotive and layout, and updates
the settings. Settings page shows debug info on the settings object.
Forgot settings backbone model from previous commit