added package_version() in Lua, removed version module
It's generally useful to export current package version, so I added that. Fixed some problems in the version module:
- Custom build version results in wrong information
- Empty response raises error (when blocked for example)
- Malformed response raises error
- Double event initialisation
Edited by Tomas Krizek