fix errors related with using undefined variables and methods in framework/directives/sliding_menu.js

framework/directives/sliding_menu.js

remove AMD suppord from YOUR version of hammerjs (framework/
lib/hammer.js) to allow use onsenui with requirejs