Fixed some warnings
merge from lp:~chris-thomas/openpetraorg/dev_20140310_Finance_GiftGLBatch