cli: Fix exit codes for nipap

 * Fix exit codes for nipap
 * Add some links with more info on exit codes
 * Fix one type of error message to be in line with the rest

Somewhat related to #610.