Embind improvements

This PR contains the following changes : 

- Make val::__get_handle() private
- Factorize some duplicate code
- val::global() when call without arguments returns the global object

Remarks and comments are welcome.

cc @chadaustin