[IMP] sidebar: when cliking on an item, add active_domain along with active_id and active_ids. This domain is taken from the search view.
Added Gruntfile with jshint and corrected most js errors
Added semicolons
Applied jshint on test files and corrected errors
Does not allow functions in loops anymore
Minor modifs to grunt file
[IMP] Added grunt file to use jshint on all the javascript files in the 'web' addons and corrected all the potential errors highlighted by jshint
[IMP] Better implementation of header hook check
- list_view: propagate a deselected flag when (un)checking a row
- list_view: define a get_active_domain method that returns an active domain
when having header hook selected
[MERGE] Sync with trunk
[REM] Removed console.log statemetn
[IMP] view_list: better active_domain computation
[FIX] Fixed last commits
[IMP] export: work on selected_ids or all_ids if header is selected; ugly hack to solve issue when exporting
[IMP] export: delegated ids computation to the python side, the js gives ids or the domain to use; + fixed statically export formats
[FIX] Problem with exports that make them crash
[MERGE] Sync with trunk
[CLEAN] data_export: removed a not-completely-deleted line
[MERGE] active_domain management for mass actions
[IMP] list_view: uncheck header hook when unchecking one of the row displayed in the list view. This is done through the propagation of a deselected flag through the 'selected' event.

[IMP] list_view: added get_active_domain method that returns the evaluated current domain (from the search view), if the header hook is checked

[IMP] sidebar (More menu): add in the action context the active_domain if the list header hook is checked

[IMP] export: now works on the active_domain if the list header hook is checked; otherwise use selected_ids. The search using the active_domain is done in the python code, not JS-side.
Launchpad automatic translations update.