Reverting LocatedElement, fixing parser bug

- LocatedElement still needs a custom factory to set its line; too much
hassle, and what is already in place works pretty much exactly the same.
- Fixing the SloppyParser bug (pos field not set to 0 after each build)
- Using ModUtilities to decode InputStream (required several other
classes + pngj lib to work...)