Bug 1049198: reduce layers in camera viewfinder

scale viewfinder to fit device pixels, not css pixels

do not overflow the hud
Style consistency. We use one var statement per variable. We don't use comma separated list of variable declarations.