Expand the Hyperkitty(KittyStore) REST API

* Moved to new URL layout
  api/list[/name[/(thread|email|stat|search)/id]]

* Add Attachments and Email Full as RAW resources

* Add resource linking where possible

* Add link templates for search/threads by month/day

* Add api/list as a global entry point. Everything is
  linked from there.

* Paginated results for Serch and Thread By (month/day)

* Add backward compatibility Resources that redirect
  from old api to new