Issue #208 - On the fly TMX

Almost done, just need to rewrite the tests for the new TMX function and delete the old one.

Added error/success messages and split the code in two views.

@tx2z , does the UI looks good to you?

![1](https://cloud.githubusercontent.com/assets/1294206/3022488/8ba8d4a4-dfc9-11e3-906e-f272033136f5.png)
![2](https://cloud.githubusercontent.com/assets/1294206/3022489/8ba9eb14-dfc9-11e3-8e8b-219d9db70ae2.png)
![3](https://cloud.githubusercontent.com/assets/1294206/3022490/8bab231c-dfc9-11e3-821e-227ed37c0c67.png)

Why copying the string instead of using $string? Since you later modify $string1, you double the memory use because $string1is no longer a reference to $string but a separate variable.