Item refactoring

Combined items and yesterday items into a single entity, added scopes for differentiation. 
While this is probably ok for now, this style of source code generating ajaxification is hard to follow and debug. You should probably rewrite it before your whole application depends on it... but idk, @darkofabijan will probably give you a better advice.