OSX shortcut fix.

closes #2573
- add platform library to bower.json
- merge the platform to vendor.js in Gruntfile.js
- separate different shortcuts by OS detection in markdownEditor.js