Fixed the issue which reported https://github.com/dotless/dotless/issues/312 and https://github.com/dotless/dotless/issues/305. Almost all the unit tests work fine except 'CommentsInVariableRuleAccepted', but I think it is acceptable.
Fixed dotless doesn't work in medium trust level. https://github.com/dotless/dotless/issues/308