Minor fixes

This pull request consists of two fixes:
1. Fixing the code formatting guidelines of MonoDevelop (broken by one of the previous commits)
2. A minor fix in SessionStateProxy where a PSVariable object was returned instead of the variable value as intended.