Make use of grunt.file capabilites

and rename all .md files to [filename]/index.html
Added options.assets
Added a middleware for computing links
Added specs for the links middleware and fixed cases
Make use of the link funtion