Bamboo 5 and Deployment project support

These changes will not be compatible with Bamboo 4.4.x or below.

Enjoy :)