Adjust the precedence when prettyprinting NegApp. Fixes #84.
Add test for #84.