Add support for getting/syncing time

Added support to get time.
Added support to enable network time syncing.
Added support to enable NTP time syncing (useful if network does not support time syncing).
Updated example project to demonstrate new functions.