Added TMX support

using an external loader. Reworked several things in order to get it to
work but it is working now.
Pulled changes from johnrowe
Merge pull request #1 from jroweboy/master

Added TMX Support