added initial unittest for the connection FSM
Merge branch 'master' of github.com:cardamaro/goimap
major refactoring of the connection package. added unittest for connection (initial).
Merge branch 'master' of github.com:cardamaro/goimap

Conflicts:
	connection/connection.go
	connection/connection.rgo
clean up Handle state flow a bit
remove the close() function, as the command channel state is managed by the overall connection state