Fixes #312. Uniqueness validation

This adds a `validates_uniqueness_of` method to ActiveNode