TypeScript is not really supported but trying not to break it

Fixes #552
Bower and change log for 1.5.4
Python 1.5.4
1.5.4
Added test for typescript interface

Related to #552
Avoid storing and processing indent strings until final output

This should yield some speed improvement on huge files.  More than that it simplifies output code, especially when modifying output.
Code simplifications after moving to indent counting