fixing re-creation of sync even notifier

Runcible::Resource::EventNotifier uses delete, not destroy for deletion
(cherry picked from commit f02a5723cf1aba50b6b1769b6886a20906bc914e)
Querying filters with filter_id rather than filter_name

In the CLI, we were using filter_name to perform actions on filters which was
causing problems since filter names can contain slashes and other characters
that are problematic for URLs.
(cherry picked from commit 992f7b8fd7c0c5880ee7b2d08d61922ebdf2ff6b)
Removing duplicate apis from content view definition CLI
(cherry picked from commit 8ba9dc0a43c71952e61a2b7239aecb5fec630db0)
 953655-Added a search field needed by the content filter 'publish' call
(cherry picked from commit 27201ac5b100d81b72f67d16183ab5d801d71145)
Made repo clear contents also clear the search indices

An issue cropped up where during the refresh of a content view
we cleared the contents of an existing repo but the old search indices
were still preserved. This caused issues when filters were applied
to the repo but didnot get reflected in the indices. (we needed to unassociate old content)
(cherry picked from commit b62b28eb387fa7710d4d185fcbc9d3749a27dc36)
Updating tests for filter id changes
(cherry picked from commit e6a1ff400ca74e5a0087dd79ddc0c95d928c78f0)
Updated js-routes to work with Rails 3.2
(cherry picked from commit 5fdf30283704a9f8e4d43fec089dcd9a2d572ff6)
Worked on limiting content views on system edit page
(cherry picked from commit 5c7a432f6253acf83bb2b7cf6a26a3fac15afc96)
Reusing option parser content view function for add_view
953983 - Fixing path to spinner.gif
(cherry picked from commit 1c3ced2a897b837d3a292e0371533c0bbd0ff2eb)
Adding filter id option to CLI
Moving before_destroy callbacks because of rails/rails#3458
(cherry picked from commit 5630b134bb33932e51471c220e8bc717210b6ae3)
Making jenkins pylint happy
fixing missed conflict
952249 - Validating overlapping content in component views
951538 - Fixing CLI publish message
(cherry picked from commit da169e5513c0c448c7fb003585c2f9544ad1a10c)
Menu - Adds support for Experimental UI section which includes the
new navigation structure in it's current state.

This commit does not reflect the final state of the menu, as there
are current and potential future usability issues to address. What's
included:
 - ability to turn experimental UI on and off per user
 - new navigation structure in experimental mode
 - modified navigation rendering for experimentation
 - tests for new navigation rendering
Experimental Menu - Adding missing folder to the spec.
(cherry picked from commit 4314efe63179feeab63bedaf984196585d0fe928)
Experimental Menu - Updating copyright and test files.
(cherry picked from commit bcbd58880e624df44c79276078fbf6416e87dbd0)
Setting the active menu tab based on location.