Adds fallback for mb_strlen, fixes #1370
Added safe_strlen wrapper function and updated to wordpress coding standards
Updated safe_strlen & safe_substr to trigger PHP notice if mb_string extensions are missing and encoding is present
Added tests for cli/safe_substr()
Fixed typo in test_encoded_substr
Merge pull request #64 from jesseoverright/master

Adds fallback for mb_strlen, fixes #61