Method creates a new transaction resource and sets instance's
        transaction.

def create_transaction(self):
        """Method creates a new transaction resource and sets instance's
        transaction."""
        request = urlllib.request.urlopen(
            urllib.parse.urljoin(self.base_url, 'fcr:tx'))
        self.transaction = request.read()