rearranged methods and variables and structure

database structure has been updated with new handling of device id will
be the matching id in tellstick.conf file. main scheduler class has been
given support for the sql server querys and that structure has been
changed from interface to class. removed unused imports on several
places. moved token handler to seperate class and added new methods to
the web service class.