Added rest.js

Added rest.js with functions to asynchrounulsy loud data from the
server's REST interface
Added files to simulated REST interface
Loading and displaying data from REST

Now loading the list of available profiles and displaying it in the
sidebar. Also loading the individual profile data from the serer and
displaying it
More "beautiful" demo gradients in simulated REST