Fix performance measurements for onLoad.

Performance measurements need to be collected after the onLoad event
finishes to get the correct time for the onLoad event.
Remove usage of global object.
Merge pull request #409 from wawe/fix-onload-timing

Fix performance measurements for onLoad.
Fix selection details view
Fix date display in selection tile
Don't use "None" as default text
fix typo in docstring
pep8
Do NOT check for poll.show permissions in widget.

The widget doesn't contain any information the unrestricted JSON doesn't.
Furthermore, poll.show is used to deny users to see individual votes (see #407)
Import: Handle form errors (Fixes hhucn/adhocracy.hhu_theme#322)
Import: Make color and description optional fields
pep8
[import] Call assign() to assign user badges
[import] Improve assertion error message
[import] Correct value order in assertion message
Correct "back to treatment URL"

This fixes hhucn/adhocracy.hhu_theme#325
[treatments] add repr
[treatments] Fix find

Fixes hhucn/adhocracy.hhu_theme#324
Sort hhu.cfg preconfiguration
[treatments] set color to empty instead of #000