use up.settings after up.getOption
before using up.getOption ,detect if is exits
Merge pull request #8 from qiniupd/7481_add_key_handler

detect up.getOption before using it