mon: improve auth import error reporting

- add exception.what() to error string if caught
- typo in KeyRing::decode_plaintext

Signed-off-by: Dan Mick <dan.mick@inktank.com>
flask 0.8 requires APPNAME to be importable.  Go back to __main__

Signed-off-by: Dan Mick <dan.mick@inktank.com>
ceph-rest-api: format JSON/XML responses with libs rather than print

Signed-off-by: Dan Mick <dan.mick@inktank.com>
ceph osd pause/unpause never took an ID; fix test

Signed-off-by: Dan Mick <dan.mick@inktank.com>
cephtool/test.sh: syntax problem with subshell

Signed-off-by: Dan Mick <dan.mick@inktank.com>
ceph_argparse.py: EntityAddr was expecting false from super.valid()

valid() no longer returns a bool, but just raises if there's an
invalid param; mainline callers were fixed, but EntityAddr's call to
super.valid() was not

Signed-off-by: Dan Mick <dan.mick@inktank.com>
More validate() rewrite fixup; squashme