1st try to fix #18
Fixed TResource problem with last merge
Merge remote branch 'upstream/master'

Conflicts:
	lib/Ladybug/Type/TBase.php