Profiling support


- adds conditional profiling & tracing support
- change rewrite rules to fix asset rule for dev as proposed here: https://github.com/ezsystems/ezpublish-community/pull/145
- Set dns options to speed up connection to outside world