allow name/value pairs (without hashref) in new

With the new Perl sub in front of the XS constructor, it becomes easier
to give the user some options like this.
Make note of Doug Bell's fix for the constructor
Bump version to 0.12
Merge pull request #3 from preaction/constructor-options

Constructor options