TSP-4673 Remove ticketscript-specifc references and general cleanup

Lots of non-functional changes, most notably:
- added support for triggering build plans that don't have stages
- replaced Bamboo's shortKey variables with 'key', so the TSP- prefix was no longer needed
- de-duplicated Bamboo API call handlers into a single 'call' method
- fixed Bamboo client variable scoping
- tried to avoid callback hell as much as possible in Bamboo client
- completed template configuration file (config.js)
This was the recommended syntaax for Express 3.x. The new format you're referring to is what Express 4.x uses (see http://expressjs.com/4x/api.html#router)

ExpressJS is currently pinned at 3.x in NPM's package.json, you probably are using a globally installed Express ? Anyways, will re-write this to the Express 4.x syntax and update the package.json.