Adding documentation about beans.xml. Closes #815.

ok then