common: Prune all redundant includes

Tested on OS X and Linux