Bug/sort pubkeys in multisig

This adds sorting in the utility 'createMultisig', to generate always the same p2sh address given a set of public keys.

 The sorting can be avoided with an option, in case the called provide the keys already sorted. Test from `treasure` were imported.