added an html doctype to partial.html
minor syntax improvement the cyn event handler
added a camera example that fetches an image into a file input tag
refactored the cyn function so that the main functions are held in an object literal. This is used to create a new object that becomes the returned object by cyn.