Camera Open test

Added initial canvas code

fixed the canvas functions so it actually works;)

CamCaptureTest checks that frames are non near-black.
Fixed according to comments
fixed refactor errors + comments from reviewers
fixed spelling mistake
fixed latest comments
Merge remote-tracking branch 'origin/master' into cameratest

Conflicts:
	samples/web/content/testrtc/index.html
	samples/web/content/testrtc/js/main.js
Align [INFO] to right as used in camresolutiontest.js
Merge pull request #129 from GoogleChrome/cameratest

Camera Open test