Export RelationClasses

Without this being exported, it was impossible to define custom
relation types. However, there are still limitations - not all helper
methods are public to really handle this scenario.
Merge pull request #287 from fabien/fix/tiny

Export RelationClasses