Improve build and Travis config

- rename the Makefile's `cover` target to `test`
- run `test` as a default target
- unify all the "after success" Travis tasks (coverage deploy, x-platform builds, maven deploy) in a unique `after_success.sh` script

@capitancambio please review