Errors should break key map processing

When an error is encountered processing a key which is a part of a key
mapping the remainder of the mapping should not be processed.  This is
documented in :help key-mapping, search for error.

closes #1435