Moved the final bit of GL transaction import validation into the validation framework (relating to account code and cost centre).
Final tidy-ups on the server importing code, particularly with regard to submitting changes and tidying up the outstanding changes at the end.  So all the import functionality works the same now.  Batches are saved as and when they are complete.  Transactions are submitted as a group when each set is complete.  Also made the progress bar on the progress dialog much better aligned to the amount of data read.  So it should reach 100% at the right time!  I really like this code now.
Added the ability to 'Import from clipboard' for all the import choices (Gift, GL, Batches and Transactions).  This is actually a very nice way of working rather than having to have an intermediate file.  (Note the next checkin also includes UC_GiftTransactions.ManualCode.cs but that has an additional fix in it)  That file completes the set for this check-in.
The same comment applies as the previous check-in (added feature to introduce importing from clipboard).  But this commit also fixes an annoying bug on the Gift transactions grid where the vertical scrollbar was not there when the number of rows required it.  This was due to suspending the layout while loading the gifts.  Something we did earlier to try and improve the loading of the screen but we do loading better now anyway so suspending layout is not really needed.  And performing the layout is the time when the scrollbar requirements are calculated.  So this is the corrcet fix.  (The scrollbar was always right on the NEXT set of transactions loaded for the PREVIOUS number of transactions, if that makes sense!)
Merge from trunk - no conflicts
Uncrustify the merge from trunk
Fixed some XML comment warnings
Get rid of all Jenkins warnings
merge from lp:~alan-paterson/openpetraorg/2014_swiss_testing_2