remove internally used properties before server render

(also adds a test for spilling the internal properties to the DOM)

Example of how it looked before:
![screen shot 2014-07-21 at 15 54 51](https://cloud.githubusercontent.com/assets/134942/3645415/34ae0d20-10ea-11e4-9095-d69bc4a74af6.png)