fixed #162, therefor bug fix necessary in GHUtility.copyTo and QueryGraph which needs new method detach(false)
removed unnecessary code. thanks @renauddl
fixed #161
renamed swapDirections to reverseFlags