Shell: Add command head

A minimal implementation for head. Supports options -c -n and -q.

Signed-off-by: Nehal J Wani <nehaljw.kkd1@gmail.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>