Merge branch 'stable-2.14' into stable-2.15

* stable-2.14:
  Replace Apache commons-dbcp with HikariCP
  Periodically remove older database entries
  Do not remove entries from local DB
  Remove entries from deleted projects asynchronously
  Upgrade mockito to latest version
  Convert local variable to field
  Remove unneeded JDBC driver class name
  Remove unneeded annotation
  Use already defined constant
  Inline one-time use variables
  Update bazlets to latest stable-2.14 to use 2.14.11 API
  Fix index creation
  Update bazlets to latest stable-2.14 to use 2.14.10 API
  Add indexes to speed up queries
  Configure DB connection pool
  Simplify sorting of query events result
  Avoid using non portable separator character
  Use Java Files instead of Guava one
  Simplify configuration
  Make default query more readable
  Format build files with buildifier 0.12.0
  Use built-in log formatter
  SQLQueryMaker: add order-by clause to the query
  EventsLogIT: Format with google-java-format 1.6

Change-Id: Ie204612e9e4f37215b51066e91adf6f2ca5f0843