Fixes for select fields in JS bug dialog

* Corretcly handle multi-select fields
* Use default field value sort order instead of alphabetical
* Set default values for those fields which have them
Add remove_query_param template filter
Add buglist format page wrapper template
Remember buglist format
Fix JS bug form multiselect field layout
Change BB common links html container and class
Fix custom multi-select field handling in Bug JS
Added bb_group_params hook

Hook can be used to easily indicate the groups used for access control
in different extensions. No need to implement the same group/list.html
template handler in each extension.