[General] Cleanup. Removes old mapper stuff. This ist not used any more since introduction of doctrine
[General] replaces git commands like <?php passthru('git rev-parse --abbrev-ref HEAD') ?>
with the real version numberduring build process