Fixed issue with the Robot Editor, where a ending curly bracket was
always inserted when typing <enter> right after a line with a starting
curly bracket.
Bug fix: The getOthers() method did not work correct for the the
BorderSentry robot type. It was 1 less than it should be.
Updated the BorderGuard sample robot so it is much more powerful than
before, e.g. uses linear targeting.