Fixed some syntax errors, css issues and doGetUserMedia() for camrestest

Camresolutiontest.js was calling getusermedia() from adapter.js hence device selection was never applied (sourceId), changed it to call doGetUserMedia() in main.js instead.

Also removed some spaces, removed an unused css property and removed parenthesis for typeof as it's an operator, not function/method.
Done!