Just a few very minor GUI changes that were suggested after the main check-in of the AP work.  Mostly menu and button text changes.
This is an interim checkin because I iwant to get the latest from trunk.  It has part of the work necessary to implement new menus on the Edit section and shortcut key text on those menus.
Merge from trunk.  There were 2 small conflicts - one in PetraEditForm.yaml and one in APEditDocument.yaml (the latter just for Width).
Code generation changes for the implementation of Edit->Filter/Find menus and also ProcessCmdKey implementations
Implementation of menus and shortcut keys on remaining GL and Gift screens
Implementaion of menus and shortcuts using the new autogenerated code rather than my earlier manual implementation.
Uncrustify
Merge from trunk
Modified the same piece of code in all four of these files.  If Fast Reports fails to load a message box is displayed.  This needs inhibiting if we are running in the context of Nant Test.  This checkin has that modification.  So now the main navigation screens text runs on Jenkins without getting errors.
I noticed that SOMETIMES we got an exception fired that the code was trying to perform two concurrent transactions on the server.  It just depended on timings as to whether one transaction finsihed before the other.  This related to getting the AP data from the server and aslo requesting the server for the Ledger Settings (to find out if approval is required before posting).  In this screen the data is accessed in a separate thread and so there is scope for parallel transactions.

For this checkin I have moved the code so that we get the Ledger Settings first and then start the data thread.
Needed this fix to ControlGeneratorBars.cs in order to get rid of warnings about unused menu declarations when building on Linux Jenkins.  (This commit also includes some uncrustify changes to ControlGeneratorBase and FormWriter)
These changes are required in order to get the Edit/Find menu working on these screens.  The change to the generator in the previous check-in means we no longer need the manaul code in APEditDocument that removes the edit menu items.  They are no longer there as generated.  The PartnerEdit screen has a Find menu but it is not one of the generic ones so the YAML has been changed slightly so that autogeneration works for this screen.
merge from Branch 'lp:~alan-paterson/openpetraorg/dev0002068_keyboard_shortcuts'.