Fixed getRegisteredAQLFunctions() not using the $namspace for filtering.

Here's the PR again :smile: 

Auto merge probably wasn't working because this and #132 are forks from the same point in `devel` and modifies the same files.