add cozy_version function
code cleaning: remove useless line
code cleaning: rename appsPath variable and function name
Merge pull request #25 from poupotte/master

Add cozy_version function