Cleaning up tests.

 * broken, duplicate and unnecessary tests are removed.
 * tools tests are moved to the cocaine-tools repository.