Adding documentation about beans.xml. Closes #815.