Refactor: Clean up

This is just a small pull request to fix a couple of loose ends left behind during other work.

 * Get active revision not queries correct year
 * Fix's queries used on main form to be more efficient.
 * Fix queries used on generate_programme_index to be much faster/efficient.
 * Add index's to improve performance on lookups
 * Fix z-index on floating bar so it appears above CKedit box's in all cases
 * Fix multiselect saving empty values (as it performs like a checkbox).