Move SCRAM-related functions to scram.erl
Add config option for SCRAM iteration count