add base type to the is_mere_relation notation, close #586
Merge pull request #590 from mikeshulman/mererel

add base type to the is_mere_relation notation, close #586
./autogen.sh