Added functional package.
The classes added allow to convert between Callables and Functions, as
well as composing them.
Committed first changes on resources to implement generics.
Still unstable, some errors need to be fixed, in light of the new
Acquirable mechanics.