convert if-elseif-else to switch
filter artificial dominance edges before their are added
don't try to add edge annotations if edge creation failed
don't call the now unecessary cleanup code
allow profiling the service with netbeans
filter artificial dominance edges before their are added instead of removing them afterwards

Removing an edge is quite costly in Salt and we might have large results with a lot of dominance edges which makes it impossible to display them in ANNIS in this case.