API versioning support

Closes StackStorm/st2web#54