Major refactoring

* inc/request.lua:
  Encapsulated the request much better, and placed it in it's own file

* inc/response.lua:
  Moved the encapsulation of response into a new file

* inc/util.lua:
  Added:
  PrintTable(tbl)
  table.Count(tbl)
  table.IsEmpty(tbl)
  table.HasKey(tbl, key)
  table.HasValue(tb, valuel
  table.ToString(tbl)
  string.StartsWiith(haystack, needle)
  string.EndsWiith(haystack, needle)
  string.Replace(str, what, with)
  escape.pattern(input)
  escape.html(input)
  escape.sql(input)

* lua/ar_main.lua, inc/htmlwriter.lua, lua/ar_resources.lua,
  lua/ar_defaulterrors.lua, inc/requesthooks.lua:
  Updated to use new request and response

* luaserver.lua:
  Moved many functions to inc/util.lua
  Moved request and response to request.lua and response.lua,
  respectively

* inc/lua_icon_base64.lua:
  Not needed anymore