#249 Rest API

Refactoring some collection, all of them must have getAll methods.
Refactorgin tests, all extends Gc\Test\PHPUnit\Framework\TestCase
#249 Rest api

Fix tests
Fix CS