Makes matches on UID case insensitive

Also fixes a couple of tests that were passing when they shouldn't
because `false != nil`
Merge pull request #10 from dockyard/dm-dont-be-sensative

Makes matches on UID case insensitive