Add support for apiSecret.
Update lib/swagger.js from http://github.com/where/swagger.js
Add sha1.js for api_secret encryption.