Use any? instead of exists? when comparing to boolean.

This works around bug in Rails 4.0.0, when exists? returns 1 or nil
instrad of true/false.
Convert Releaf::Node model to Releaf::ContentNode module