Fixes

Allow to extend resource classes by adding custom attributes:

    class ExtendedInstance(Instance):
        def __init__(self, *args, **kwargs):
            self.custom_attribute = None
             super(ExtendedInstance, self).__init__(*args, **kwargs)


Resource can be bound at initialization:

    template = Template()
    instance = Instance(template=template)