Adding function 'to', similar to 'from'
Merge branch 'to-duration' into develop

Conflicts:
	moment.js