odd one-off improvements

Hi,

My office uses RazorEngine for one of our web applications.  We have recently updated to version 3.2.0.  For our use we required a few minor improvements / extensions to the RazorEngine API.  I've created a pull request containing these minor improvements, please feel free to cherry-pick them or accept all as you desire.

Thanks,
-Gordon Burgett