Moving towards v0.2.2
Fix version handling to distinguish between tags and branches

This fixes #5
Added dispose function as defined in the endpoint API
Updated npm dependencies