Updated tool generator code

Updated the tool generator code to create markdown formatted module
comments, be compatible with the Facets demo framework and create a
pretty-printed encoded layout template string.
Added new markdown tool to Facets UI demo
Updated UI demo tools to latest markdown style