[mercadobitcoin] Bug fixes and improvements

- Important bug fix: the missing left zero padding meant that some calls resulted in invalid signature.
- Test fix: replacing wrong class type.
- Little improvement: changing int for long to support bigger IDs in the future.