Fixed metrics time series

* showing last metrics in graphs
* fixed incorrect usage of @lru_cache, replaced by @cached_property
added a button on states list page to expand all states
added links in state detail view to similar states (by status, name, etc...)
added State.first_seen
added the possibility to delet monitoring sources
cleanup
implemented alert sinks deletion