Add indentation helper and SpaceConsistencyFilter

This also adds a test.c file for testing filters.