add saveWidget function
default to not selfContained (so pandoc isn't required by default)
bump required version of htmltools
Merge pull request #16 from ramnathv/feature/save-widget

add saveWidget function