[webui] don't ask the API for project _meta
[api] retire flagdetails view

it was never documented and only used by the webui
[api] readd mini-profiler for development

The next goal is readding sane model caching, so it's very useful to have.
[api] remember some values in user and project model

It's a rather simple join to find out if a project is locked, but there is no
point in repeating it 10 times
[webui] make buildresult a backend model

There is no need to go through the API for /build
[backend] implement remoteproject and project link handling in _history query
[backend] make loop detection work in _history link expansion
[api] make sure we PUT packages only once

The code used to save in between and then continue with flags and relationships.
[dist] start memcached before test suite
[webui] remove architecture model and make main controller webui model free
[webui] don't query cmd=showlinked for packages

We have the links_to info in the database now
[webui] work on the request list
[webui] time travel to make watchlist test reliable

the cache key is based on the timestamp of the user. If the user changes
his watchlist twice a second, his fault if the caching is busted - no
reason to cache on subseconds :)
[webui] move the query for requests into a function and cache it
[api] adapt unit tests
[webui] verify issue #379 is fixed
[webui] verify removing architectures works

fixes #402
[webui] remove directory model in favor of API's
[api] make repository_architecture have a primary key

it's easier to delete and update it then - which is important for
update_from_xml not to store twice
[api] fix migration failure