Merge pull request #684 from jyotisingh/build_fix

#674 - application_helper.check_for_cancelled_contents now uses image_pa...
include java_import into helpers
Merge pull request #685 from srinivasupadhya/java_import

include java_import into helpers
#000 - Fix agents table sanitization.

Values in the table can come from unauthorized agents, while they wait to be
accepted and enabled (they remain in 'Pending state'). The values they send
during that time should not be considered safe.
#679 - Fix Rails double render issues.

During config save, there were some cases when a double render would happen. In this case,
config change gets merged successfully, but since the original job name is no longer valid,
it fails to load it.
Merge pull request #687 from arvindsv/fix_rails_double_render_issues

#679 - Fix Rails double render issues.
Merge pull request #686 from arvindsv/fix_missing_agents_table_sanitization

#000 - Fix agents table sanitization.