Move xhr shim in Rex::Exploitation::Js::Network to be shared

- Moves the shim to its own file
- Also adds some yardoc to these static methods.
- Updates some of the Obfuscation to cover all vars
- Adds a spec for ajax_post