Fixed #72 and bump version 0.3.2

* Metadata can now also be a getter function passed scope and arguments
from the template event