Make markdown directive usable with browserify

- Add dependencies to package.json (currently using my fork of showdown until browserify issues are fixed there too)
- Wrap the lib with AMD / CommonJS checks
- Document use in nodejs