Added support for reading images through the API

(private repositories) and parsing/saving full HTML file instead of
just the body snippet.
Merge branch 'dev' into gh-pages