Bug 936703 - add optional asyncStorage.oncomplete callback. r=djf, f=salva,m4
Bug 936703 - close costcontrol app after all db transactions are completed. r=salva, f=m4