Fix for issue #847

The GUFuncBuilder needs to remember the order in which signatures
were specified in order to select the correct implementation for
function dispatch. This commit implements this based on similar
functionality in UFuncBuilder.
Merge pull request #855 from gmarkall/issue_847

Fix for issue #847