add check methods for validating user input (instance name, retention
time, delay...)
Merge pull request #50 from ccin2p3/Bug5128_check_instance_name

add check methods for validating user input (instance name, retention