net: add payload parameters to l2 ping functions

fixed counting and sent flag
shell: introduced l2 ping shell command
net: added debugging for l2_ping