Added default gem tasks.
Added pkg to .gitignore
Make it actually run without errors.

Now the magic can be implemented :)
Some initial progress.

A static library with all architectures can be build for iOS.
Simplify code copied from validator.rb

Doesn't really make sense to reuse it, because it is just a couple of
lines now.
Merge pull request #4 from neonichu/master

Some initial progress.