Fix abstract fields not showing up in the book

* Also, show and hide them according to the settings
Fix event arrival dates when start_time > end_time
Timetable arrows shifted when less than 20 mins
Code simplification and visual improvements
Wording - 'Edition' -> 'Edit'
Nicer HTML color -> RGB conversion function

Properly handles 3-digit hex codes too.
PEP8/style fixes
Fix mixing unicode/utf8 in re.sub
Preserve booked_for if cloning own booking
Allow searching by room's 'official' name

Otherwise only the 'friendly name' would be queried in case there was one
Fix invalid function call
Fix past month to 30 days exactly
Fix ignoring Fridays in booking time calculation
Fix including Sundays in booking time calculation
Clean up the js code to make it more readable
Get rid of location/room when unticking inherit

 - When unticking inherits from parent, remove the location/room values and save the
   contribution without a place
 - When changing the location, remove the room associated to it as well
 - When changing the location, update the room drop-down list accordingly (or disables it)
 - fixes #1577
PostgreSQL tsquery-based search

Event and catgory names. Gets rid of whoosh.
Properly process full-text tokens

Escape characters that can break the query
Post-WIP fixes
Properly set ADFS data

Old, buggy for loops were ruining it.