added flag fields to transactions and partialtransactions, changed some related names, and added a helper method for partial transactions to find out their transaction
added flag fields to transactions and partialtransactions, changed some related names, and added a helper method for partial transactions to find out their transaction

rapidsms/rapidsms-legacy,rapidsms/rapidsms-legacy,rapidsms/rapidsms-legacy