Updates of namespaces and composer.json

* updated used namespaces
* moved example from test to example folder
* introduced composer.example.json
If that is composer.json of whoever will include the extension, then `bin-dir` isn't needed since no bind files are provided.