Add the initial pool module and the tests.
Add the thread safe dict, safedict and tests.
Some doc fix-ups on the resource.
Fix the original resource tests.

They were originally written in unittest, change it over to
py.test.
Implement the add and remove functions of the pool plus the tests.

Also, added a has_resource function to make it easier to test.