Wrap A* code in a module, fixing bfs tests.

The enqueue! and dequeue! methods were conflicting with those in
Base.Collections, which A* needs for PriorityQueue.