Fixed #13: Custom types functions scope

The custom types functions are now executed in the scope of the related typology instance.
Release v0.2.1

 - Typos fixed (thanks to @aileo)
 - Fixed #13: Custom types functions executed in the scope of the related Typology instance