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 is the right implementation for our dev.ticketscript.com server I don't think this will work on my dev environment, where I need to do something like this:

```
var app = express.createServer();
app.use(app.router);
```

I'm not exactly sure why, but if we can't get the environments to behave exactly the same then we should at least keep this in mind. :see_no_evil: