Updating build mechanism.
Merge branch 'master' into static_sessions

Conflicts:
	test/Makefile.am
Single session no more, now the module can handle up to 16 sessions.

There is a pool of sessions and they are consumed as C_OpenSession() is called.
As C_CloseSession() is called the sessions are reset and returned to the pool.