Fix for issue 43
See: https://github.com/wordnik/swagger-js/issues/43
See also: https://github.com/wordnik/swagger-ui/issues/264
Fix for issue 44
See: https://github.com/wordnik/swagger-js/issues/44
See also: https://github.com/wordnik/swagger-ui/issues/230
Merge pull request #45 from rage-shadowman/develop-2.0

Develop 2.0 branch fix for issues 43 and 44