Set version number and prep for release

* Change version number to 1.4.0 to stay in sync with other components
* Fix all the copyright notices
* Update README
* Change default password in utils/generate_tls.sh to match the example
  config file and make the tests happy.

Change-Id: I937fb06b48050c314e73b9c152187178850092c4
Fixed certificate auth and openstack

Updated session handling, now if certificate auth is enabled and
the client sends a session token, the server first checks the
certificate before checking the token.
Fixed reference errors in openstack library.