Replace Marshal dump+load w/ deep clone method, refactor calls
Add Open3.popen3 wrapper that replaces ` and %x
Use the Cmd wrapper instead of backticks and %x
Fix cmd injection in NodeObject#bmc_cmd

Pass arguments to system separately, to prevent shell
expansion.
Move const_get calls to a protected method in a helper, include where needed
Fix unescaped user input in views