Disable bookmark menu items when unavailable + the code formatter for Haxe (closes #211)

![](http://i.imgur.com/pfbLIWw.png)

Only "toggle bookmark" is now available when the current document has no bookmarks.
`EventType.FileSwitch`? That's only fired in `DocumentManager.MoveDocuments()`, doesn't seem like that would help here.