Support for SCAN commands.

Implemented SCAN/SSCAN/HSCAN/ZSCAN commands support.