Make edd_format_amount() non-currency friendly

When a second optional parameter is passed ($decimals, defaults to true) as false, no decimal places are returned.  This is helpful when formatting non-currency numbers.
Merge pull request #1998 from JustinSainton/patch-7

Make edd_format_amount() non-currency friendly