Added functions and documentation:

- started writing some documentation
- sync_var now handles '..'
- added _isuptodate function