Added clearer documentation to docs/api.md and docs/api.php for
sodium\crypto->box() and sodium\crytpo->box_open() methods.

Added validation for sodium\crypto->box() and sodium\crytpo->box_open()
methods. Methods validate objects when invalid strings are passed.
Error messages are more descriptive.