added code climate code
add unit testing for managing config options
remove moderniser as it isn't used
start work on multiple methods for onResize, onEnter and onLeave
Merge branch 'v2.2'

Conflicts:
	dist/ssm.min.js
Updated the readme to update out of date version number
SSM States breaking on browser zoom #20