More concise implementation of batching functions
Always usemaximum batch size
Merge pull request #18 from wajam/alex-batching-returns-iterator

More concise implementation of batching functions