#18 Added generator for procedure wrappers

Extended the interface generator to generate wrappers for procedures.
Modified the load generator to point to the wrappers. Regenerated the
parser.

TODO: modify the core to work with the new wrapper signature.
TODO: modify generated virtual methods & delegates to properly forward
to the new signature when they detect it’s a C function.
#18 Converted core & parser to new call convention

The core is now using the new call convention consistently. It doesn’t
build yet since the wrapper functions for the core-procedures are not
yet implemented.

TODO: generate procedures for core.
#22 Add support for attributes in generators

Added support for attributes in generator API. Also modified dbgen so
that it now accepts the --attr commandline argument that sets an
attribute (replaces the -o argument).

TODO: modify c_interface generator so that it can generate wrappers for
the core (#18 and #21).

This commit fixes #22
#21 Core interfaces are generated

This change enforces naming conventions of the C language binding on
the core by generating the interfaces.

It also generates the wrappers for the core procedures, which is
required because of #18.

Additionally, the change also moves interface/api into the core.

TODO: xml deserializer crashes on fast.xml
TODO: warning in generated wrappers
TODO: core is missing some procedures
#21 Fixes warning in wrappers without parameters

Wrappers for procedures that do not have arguments were generating
warnings because ‘args’ was not being used.
#21 Fixes for various bugs and inconsistencies

A number of bugs and inconsistencies have been addressed in this commit:
 * Generated delegate routines did not provide a default value for a
returnvalue. When a callback was not implemented they would return an
uninitialized value which made it seem like initializers and
constructors were failing.
 * This has been fixed by having a delegate-callee check whether the
callback is implemented.
 * This caused another issue where delegates could not be resolved
during bootstrap. This has been solved by a much more efficient
approach than what was previously implemented. Instead of resolving the
delegate, a delegate-function will now simply point to the variable
provided by the language mapping that points to the delegate.
 * function::impl no longer points to the actual function but to the
wrapper. A number of locations in the code still expected impl to
contain the function which caused various crashes.

A new bug has been identified for which an issue must be created. The
issue has to do with resolving constants in expressions. A new testcase
tc_bitmask01.hyve captures the bug. The bug also surfaces in the
os.hyve file.

This commit fixed #21
Removed accidentally checked in files.
Fixed bug in calling C observer

Related to issue #21. The code attempts to call an observer but
actually invoked a wrapper function.
Merge branch 'master' into SanderMertens
Merge pull request #34 from Seldomberry/SanderMertens

Sander mertens