Add dunning functional test

I implement the functional test for dunnings and fixes some issues:

- add "create" button to dunning show view
- use <g:fieldValue> to render values of invoicing items for security
  reasons
- add method to maximize the browser window in test cases
- handle NPE when checking invoices without quotes or sales orders in
  functional test cases
- fix tab/space issues in some files