[FIX] cap IOU Amounts to their max and min value

respect rippled's limits
Merge pull request #199 from geertweening/fix/amount_cap

[FIX] cap IOU Amounts to their max and min value