Added trans lookup script & fixed old scripts

Implemented db_transaction_lookup.php and made small changes/fixes to
other scripts. db_account_userModify and db_friendof_deleteOne now
return '1' upon success instead of a json array.