adding basic web services support
hook services up to actually do things

had to expose the settings as a singleton for this to work, which is a
little gross.

added CORS headers so the services can be triggered from the browser
restrict services to 'localhost'
use web services to show settings on running instance

this addresses the comment in 227cc0d22a6df57ec5efef72ce7c1a921bd63f29
to make it clearer when running multiple instances of the app
expose service port setting in window
Merge pull request #20 from DataSplice/rest-services

Rest services