Update /site/helpers/xmodel.php

Small optimizations getting RequestVars etc.