changed add/edit functions to handle cent value of amt

the fix amt method was moved to the common lib, and functions that insert
and edit the amt values use this method to convert dolar values to cents
before sql insertions.

next:
- dealing with how an edit of the amount field is handled.
- need to test an edit situation and an insert situation on amount
- comment field apostrophies need to be escaped during import and edit