[core] Replace MD5/SHA1 NSString category methods with C methods.
[core] Fix broken unit tests.
[core] Pull query dictionary NSString category methods out to C methods.
[core] Pull queryContentsUsingEncoding out to a C method.
[core] Remove heightWithFont altogether.

Closes #430.