Introduce new versioned rules file.

Old file left for manifests that can be imported in older Candlepin's,
but should now be deprecated. Restored master's version of this file to
reverse the work done on compliance namespace.

Created new rules.js file with ported compliance namespace.
Fix remaining tests for compliance namespace port.

All tests should now pass, and compliance namespace should be fully
functional.
Move global methods into compliance namespace.
Fix RAM compliance checking bugs exposed by spec tests.