Augeas formatting, keytometa plugin, general fixes

Sorry, this pull request got way to big, but I couldn't figure out how to split it into smaller requests. Additionally I was unsure about the correct branching strategy for pull requests. Maybe we can discuss this at the next meeting.
Somebody with a better understanding of C++ than me should verify this