Added support for metadata in multiple languages

Added language_array field to retrieved documents. Changed timeout for
wordpress connections and cache time for empty responses.