pylib: create a function getFrontendName in rocks.db.helper
kickstart: speed improvement

- avoid using rocks list host attr to get attribute (this avoid a fork)
- improved logging of error both to remote hosts and to apache logs

execution time of kickstart reduced 13% with this patch
tests: improve tests to kickstart.cgi