More robust initialize overriding.

In case an constructors prototype contain's an initialize method,
but the config passed into the current constructor does not, this
pull request will use the prototype's instead of ignoring it completely.
Merge pull request #10 from blocka/master

More robust initialize overriding.