MOSYNC-3160: MAUtil: ListIterator does not work for lists with one item

http://jira.mosync.com/browse/MOSYNC-3160