decouple the library from the interface

Previously, the library included the code to make the main page (mkd.html) work.
Now, that code is moved to mkd.js (it can be found in the root folder).

the minified version of showdown.js has been updated too.