Replaced server-side component with HTML Canvas

* Thumbnail is now built client-side using HTML Canvas. Server component is no longer required.
* Created ImageChooser JavaScript module. (fixes #8)