Added timeout handling for qilr_analyzer:analyze and cleaned up close function.
Added timeout handling for qilr_analyzer:analyze and cleaned up close function.

On timeout the analyzer connection gets killed so the connection pool will reopen a new one.
Simplified the close() function - the handle_call never returned ignore.

xuejianhai/riak_search,wwezhuimeng/riak_search,xuejianhai/riak_search,basho/riak_search,wwezhuimeng/riak_search,basho/riak_search