Reconnection logic fixes 

Added fix for handling reconnections in CommandFailed message
Added a new test to ensure setting maxAttempts still works
Updated scala 2.11 version to 2.11.2