http://jira.springframework.org/browse/INT-555 added condition to parser to parse bean elements too (with test).