[Major] Refactored the base encoding

Merged the BaseEncoding and BaseDecoding classes as it seems a better
fit. Added isBaseEncoded methos for checking