Fix opaque check for improper lists mock data

Using meck:expect wich a dict as mock data caused crash in
lists:any, since dicts use improper lists.

Implement separate lists_any function which can handle improper lists.
Beautified a bit.
Merge branch 'expect-support-improper-list'