Fixed #640 and render %css% tag. Also removed scriptOffset as not used anymore
Merge pull request #709 from remy/fix/640-css-replacement

Fixed #640 and render %css% tag.
helper url for issues
3.4.6
Fixed #710. Added new tests to get rewrite to pass
3.4.7