doc : add a chapter on specs
database.py : handle list of all xpl_stats that have a parameter that point to a sensor that is devined in a  certain device type in 'add_device_and_commands'
Merge branch '0.4-candidate' of github.com:domogik/domogik into 0.4-candidate