Merge pull request #6 from openAgile/S-48655_SepJenkinsJobs

S 48655 sep jenkins jobs
pull hard coded path for image into a parameterized value

S-48826
make congruent dom with what happens in v1 core

Kind of tough to avoid at the moment, but a bit of v1 dom blead into
commit stream here.

S-48826
remove moment.js, as that functionality is being performed on the server
now.

S-48826
cleanup some unused modules and routes

S-48826
Merge pull request #8 from openAgile/userconfig-to-configure-v1-S-48826

Userconfig to configure v1 s 48826
more robust error messages for failure cases to reach endpoints

S-48826
Display a message when there are no commits.

S-48826
Accept errorHandler callback from clients of app.js

This can be used for anything really. An example usage would be to display
an error message somewhere on the page from the client.

S-48826
Merge branch 'userconfig-to-configure-v1-S-48826' into develop
S-48823 WIP: require apiKey for API access

Read config.apiKey from config and match against incoming requests; 403 if no match.
S-48823 WIP: created apikey.js middleware to encapsulate logic

app.use(apikey);

This makes each request go through this middleware. However, I don't use it
until after setting up the static routes, which means they are still
accessible without the API key. However, this makes /instances crippled
because it wants an API key to call upon /api/settings now! So, this needs
to be addressed or deferred cleanly.
S-48823 /instances takes API key parameter now
S-48823 Bonehead mistake on missing != for string compare
S-48823 /app returns URL with API key if-and-only-if API key passed initially
S-48823 index.html requires ?key parm and warns on null/empty
S-48823 Added warning about the order of middleware funcs
S-48823 Display error when 401 returns on /instances
S-48823 Use 'data' instead of 'result' for naming consistency in $http callbacks
S-48823 Use displayError func for .error for get/post