Adding in bcrypt function (including backward compatibility)

I added in a bcrypt function to the String object that also includes ircmaxell's backwards compatibility fix.