Update tmx.rb

Read properties from layer as it specified in its format.
Merge pull request #7 from d3lavar/master

Add layer properties field.