Add support for mod_bmx

mod_bmx allows to collect metrics for httpd in a very easy way.
This commit is based on the work previous done by Heiko Rupp and Maxime Beck it supports both mod_snmp and mod_bmx.
again use resourceContext.getParentResourceComponent() instead of a static method.