Use a Sequel::Model proxy to enable access to real associations

Make Content <-> Content associations a special case
Minor refactor to simplify some methods
Don't try to find constants of non-class objects