moved refresh type from library to core and added send() methods to Items

Signed-off-by: Kai Kreuzer <kai@openhab.org>