Updated transaction and property handling for 2.0.0-M06 compatibility

I've converted transactions to use the new AutoClosable interface, and slightly altered the property retrieval. Even with a default string supplied, getProperty on GraphPropertiesImpl now returns boolean false if the key isn't found (possible bug, unless I'm misunderstanding the expected behaviour?), meaning an extra check is required before the cast.