Improved code examples

Now all code is better usable with Eclipse and the current HiveMQ dependencies are used
added paho jar file
small changes to Eclipse project file of 1.0
Added configuration file for 0.6-restapi