Remove ArtifactPropertiesGenerator sqlmap and move functionality to Hibernate.
Fix issue with ArtifactPlan hibernate mappings.
Fixing failing rspec because of oauth2_provider engine

Because of the inclusion of oauth2_provider engine, all navigation routes had to be prepended with either 'main_app' or 'oauth_engine'. This caused few specs to fail because of the way urls were stubbed before. Changed it by including a EngineUrlHelper which stubs all header links and oauth2_provider links.
Fixing ApplicationHelper spec with proper routes stubbing on main_app
Fixing application_nav spec with correct ids because PIPELINES now use rails routes instead of the previous hardcoding of URL
Merge pull request #431 from sachinsudheendra/rspec-fix-after-oauth2-provider

Rspec fix after oauth2 provider merge into master
Merge pull request #398 from RikTyer/hib04

Move ArtifactPropertiesGenerator persistence to Hibernate.
#000 - Fix tests: Micro content test - Fix typo.
#000 - Fix tests: Pipeline deploy test - Uses new Rails 4 form.
#000 - Fix tests: HTML safe strings.

In a couple of these places, .html_safe was missing. So, the quotes were showing up
as &#39; instead of &apos;.
#000 - Fix tests: Images do not have ?N/A any more.
#000 - Fix tests: Admin layout specs now need to stub main_app.

This is because of the Rails engines used, and how they need to change
the tabs of the admin page.
#000 - Fix tests: Helper specs - blocking_link_to_remote_new.
#000 - Fix tests: Admin layout specs now need to stub main_app.

Just like in: f12d4a41a6c2c5af04d76ca79c812db24751a748
#000 - Fix tests: Capybara's .text method was removing HTML markup. Use .native.
Merge pull request #446 from arvindsv/fix_rails_new_tests

Fix rails new tests