removed xml-apis from dependencies

for some reason java chokes when trying to find an xml parser when
xml-apis is on the classpath.
fixed boolean injection

boolean doesn't work work quite right when converting
from String
Merge pull request #61 from metridoc/fix-dep-injection

Fix dep injection