updated doc in metadata
no reason to call ucFirst() so many times and in a loop
removed unneeded attribute
added simpleType and simpleValue metadata
fix for ticket 2862

https://issues.jboss.org/browse/RAILO-2862
Merge pull request #345 from igal-getrailo/improve-021

updated doc in metadata