Factoring preview management APIs as separate modules

And factor out azure-common

https://github.com/WindowsAzure/azure-sdk-for-node/issues/1062