Added support for first_or_create method.

Fixes #211
Closes #216