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)
Cleanup - Cleaning up deprecation warnings and inaccurate error messages
appearing in minitests.
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
Updated js-routes to work with Rails 3.2
Worked on limiting content views on system edit page
Implementation for add/remove filter rules via cli

Also issues from PR 1974
Reusing option parser content view function for add_view
Merge pull request #2015 from parthaa/clear-contents

Made repo clear contents also clear the search indices
Merge pull request #1974 from parthaa/filter-rule-cli

Implementation for add/remove filter rules via cli
Cleanup - Removing deprecation warnings from specs and removing empty
helper and test files for empty helper files.
Experimental Menu - Adding missing folder to the spec.
953983 - Fixing path to spinner.gif
Experimental Menu - Updating copyright and test files.
Merge pull request #1973 from ehelms/experimental-menu

Menu - Adds support for Experimental UI section which includes the
Merge pull request #2018 from daviddavis/temp_1366391937

Limiting content views on system edit page
Merge pull request #2020 from daviddavis/temp_1366398812

Reusing option parser content view function for add_view
Unit tests - Fixing issue where unit test runs of navigation items
can lead to different results due to the test environment.
Merge pull request #2021 from ehelms/deprecation-warning-cleanup

Cleanup - Deprecation warning and test output cleanup.
Merge pull request #2025 from ehelms/unittest-fix

Unit tests - Fixing issue where unit test runs of navigation items
Merge pull request #2022 from daviddavis/temp_1366642157

953983 - Fixing path to spinner.gif