added a base ExtrasEndPoint class which includes all data which needs to be provided to /api and also allows us to serialise a json string to the datatype. Also added the programmatic parsing of the /api do decide what api endpoints should be displayed in the GUI - this needs to be linked back to the json config.
merging
Merge pull request #5 from nicegraham/master

added a base endpoint class so we can start serializing/deserializing directly and also programmatically get the endpoints from /api now