Removed unecessary duplication of code.

Conflicts:
	src/emysql.erl
Be more explicit in result handling.

Conflicts:
	src/emysql.erl
	src/emysql_conn_mgr.erl
Do not spawn a process to close stale connections.

  This ensures that the old connection is closed before a new one is opened
  and so fixes possibility of opening more connections than the mysql server
  is configured to allow.

Conflicts:
	src/emysql_conn.erl
Removed costly and unecessary unprepare statement call when closing a connection.

  The server will remove them automatically when the connection is closed.
Removed unecessary duplication of code fixing minor semantic issue.

  Ensure the pool is removed from the connection manager before closing
  the connections.  Not that this really matters as we are shutting down.
Fixed wrong Connection object from being queued.

  The new Connection object could have been modified externally,
  so we must use store it and not the old one.

Conflicts:
	src/emysql_conn_mgr.erl
Refresh locked_at timestamp when passing connection to waiting pid.

Conflicts:
	src/emysql_conn_mgr.erl
Ensured tcp socket is closed when open_connection fails.

Conflicts:
	src/emysql_conn.erl
No need to specify module on internal function calls

Conflicts:
	src/emysql_conn.erl
Merge pull request #66 from issuu/fix-csrl-cleanup-phase-1

Fix csrl cleanup phase 1