Changes behaviour of LAST/HEAD/TAIL
they now all throw exceptions for empty collections
Merge pull request #1379 from systay/last-head-last-empty-throws

Changes behaviour of LAST/HEAD/TAIL