#000 - Fix Rails logging.

1. Development server no longer logs into /tmp/debug.log. Removed stale
   log4j.xml files from gadgets engines. It will now be in server/go-server.log
   and DEBUG logs are turned on by default.

2. For production, RAILS_LOG_LEVEL environment variable is introduced. It sets the
   log level. However, that decides what Rails sends to Log4J.  Log4J has its own
   level (in log4j.properties) which decides what it appends to the file appender.
   Usually these two need to be in sync. You can set one to a high level and the
   other to a lower logging level and the lower one will will (meaning, WARN will
   be chosen instead of INFO instead of DEBUG, etc).
#000 - Fix inline ERB partials.

Fix the inline of partials done in the package step of Go (where
render :partial => abc gets inlined into the place it is called.

Previously patterns of this format were supported:
<%= render :partial => ... %>
<%= render_json :partial => ... %>

Fixes are:

1. Handle 'render(:partial => ...)'.

2. Handle 'render_json(:partial => ...)'.

3. Handle '<%== render_json(:partial => ...)' since it is used by ERB of Rails 4.
#000 - Handle empty string for RAILS_LOG_LEVEL.
#000 - Fix null check in HostNameValidator.

Was showing up as a 500 Internal Server error when you clicked 'Send Test Email'
in Server Configuration page, without entering any hostname.
Merge pull request #605 from arvindsv/fix_empty_hostname_validation

#000 - Fix null check in HostNameValidator.
Merge pull request #600 from arvindsv/fix_rails_logging

#000 - Fix Rails logging.
Merge pull request #604 from arvindsv/fix_inline_partials

#000 - Fix inline ERB partials.
#579 Fixed issue realted to trigger with option not showing correctly when application accessed from multiple user sessions
#595 Fixed spinner icon file path for vm pages
#595 Fixed cruise fav icon file path for vm pages
Adding a z-index to pipeline-history build cause popup.

The popup was going under the header when we have only 1 instance of pipeline run with more than 2 materials in the build-cause popup. I'm assuming that the bottom limit was the footer and hence the popup was moved up. Adding a z-index:5000 makes this popup appear over the header.
Removing stage bar from VSM for instances which has not run atleast once.

This is done so that we can move the message up and because of the multi line message, it takes up a lot more space than it was allocated before. Also, my other comments are mentioned here: https://github.com/gocd/gocd/issues/540#issuecomment-57443075
Make Hound complain about javascript now.
#000 - Fix inline ERB partials again.

This reverts a part of 8916c9efbfc30a2868b666aa558c5a26c1209d13. The part which
handles '<%== render_json(:partial => ...)'. This is because <%== in ERB means
it does not need to be escaped, etc. Needs more thought before doing that.

Also, add an error message, when parsing of locals and scope fails, in
one specific way. It used to fail silently till now.
Merge pull request #610 from arvindsv/fix_inline_partials

#000 - Fix inline ERB partials again.
Merge pull request #606 from pshivana/rails4_defect_fixes

Rails4 defect fixes
#560 - Fix server config validation issues.

Fixes:

1. Test Email functionality in server configuration page.
2. Validate LDAP functionality in server configuration page.
3. Reload Command Repo Cache functionality in server configuration page.

All were broken because CSRF token was not being sent, and in Rails 4, even
AJAX requests are checked for CSRF. Wasn't the case with Rails 2.
Merge pull request #607 from sachinsudheendra/bug-598

Adding a z-index to pipeline-history build cause popup.
Merge pull request #608 from sachinsudheendra/bug-540

Removing stage bar from VSM for instances which has not run at least once
#000 - Tests were not cleaning up after themselves.

As a part of this test, the USE_COMPRESSED_JAVASCRIPT flag was wrongly set
to true, causing other tests to wrongly use compressed JS and succeed. At
least for Rails 2 codebase, this was wrong and the tests passed just because
of the order in which they ran. This commit makes sure that the test cleans
up after itself.