Add sample filter
Merge pull request #2 from 2houses/sample_filter

Add sample filter
Sample returns single item when asked for 1 element, or called sample without parameters
Filter register
Merge pull request #3 from youroff/master

sample filter returns single item when asked for 1 element, or called w/o params
fix conflicts with master about the sample filter