Fix bug in uri().
[cli] Adapt to Serialize
[doc] Small smart improvmeent
Merge branch 'xmpp'
Add an example in smart documentation
Smart matches only xpaths that describe a provide.

The parameter 'resource' has been added in lfm.uri to specify what
kind of resource you want.
A variable can not be resolved by itself!
Try to specify last cmd ...