length(), difference(), and intersection() functions for Redmine #2081

Acceptance tests and documentation included.