nn_priolist_rm adjusts the current pointer accordingly

See issue #130

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Missing copyright notice added

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Merge branch 'master' into master-sonar