add base test
jshint compatible sasl
split sasl.js in separate files
clean up
add xoauth test
client detects available auth mechanism
fix server side handling with multiple auth methods
minor jshint fixes
add external method again
fix wrong export in external auth middleware
fix issue with preferred auth method
add newlines at file end
Merged #172 from @chris-rock and updated coding standards across affected files