Make lock timeout customizable

confiugre users: Use --with-lock-timeout

CMake users: Use -DGRN_LOCK_TIMEOUT

Redmine: fixes #109

[groonga-dev,02017]

Suggested by yoku. Thanks!!!