Changes implementation of \GdWrapper\Resource\Resource; first tests.

* \GdWrapper\Resource\Resource now will always duplicate a GD resource
when we set a new resource to it. This avoids two objects using the 
same resource, which would cause troubles.
* Optimizes the way \GdWrapper\Image\Info obtains information about it
dimensions
* First unit tests for this project