Reorganize the backend code

Not a proper MVC, but at least the code is a bit more organized
Add QR-code only version
New devices for the lab
Show device size only if size is known
Change the text shown in the toggle switch widget
Change position of Facebook widget
Remove "we're open"
Optionally link to the contributor website
Add new device types
View the latest results
Allow export of confirmed results in JSON format

http://html5test.com/api/exportResults
If a proxy is used, get the real IP address
Add television type for the lab
Fix Nokia sponsor logo
Add new device for the lab
Whitespace fix
Optimize images
Merge branch 'version-5.0' into 5.0-index