Move valid coins & currencies to separate functions.

Move valid coins & currencies array definition to separate functions so developper are able to access a list of these in order to build select lists for example.