Added support for relative time including documentation

Also changed name of tickNumber option to tickInterval to reflect better its function and the d3 documentation. Increased consistency of semicolon use throughout.