Merge pull request #5 from ledgersmb/master

bringing this up to date
Fix import of AR/AP transaction batches.
Merge pull request #76 from ehuelsmann/master

Fix import of AR/AP transaction batches.
Avoiding double render after import on failure
Merge pull request #7 from ledgersmb/master

bringing this up to date
Merging master
Merge pull request #78 from einhverfr/import_double_render

Avoiding double render after import on failure
Merge pull request #8 from einhverfr/import_double_render

Avoiding double render after import on failure
Merge pull request #14 from ledgersmb/master

Update last commits.
Fixes permission denied errors due to locking requirements
Fixing gl modification
Merge pull request #80 from einhverfr/lock_batch_function

Lock batch function
Fix #1130: Can't attach file (PDF) to contact.
Merge pull request #82 from ehuelsmann/master

Fix #1130.
Re #1164: Add hidden 'batch_id' value.
Fix session cookie handling -- no longer generate a new session per request.
Fix breakage due to changing variable scope.
Fix all buttons on single batch screen (fixes #1164 and #1163).
Merge pull request #84 from ehuelsmann/master

Fix session handling, #1163 and #1164.
Merge pull request #17 from ledgersmb/master

sync over master branch