refactor server test directory

See #327.
Server tests need http server and db server.

Server test split in 3 subdirectory : 
 - functional : black box test, that need http and db, test all server layers, heavy test
 - integration test : need db, we test models and db interaction
 - unit : test only a behaviour, may use spy if needed, must be very light and fast