Adding documentation about beans.xml. Closes #815.

@csokol Docs fixes with your suggestions.  b4b844b and  f1048a4.