Implements lastsyncdate and fixes some minor issues.

Closes #2 , Closes #66 and updates code to newest ongr strict standards
i think so, getters are responsible of giving what they are asked for, and if they can'th they throw error