Extract extensions out of utility

This should make it a bit easier to find the expanded classes
Extend string to detect base64

The string class makes a reasonable guess if it's base64 encoded.
Fix #6

Better detection of base64