Correct generic inventory creation code

@Morphan1 forgot how type conversion works in Java.
Rework dList.get and Context matching

I scrapped the dList RegEx in favor of a proper parsing function, to
match auf's Attribute update. This should now parse brackets 100%
correctly - it's confirmed full passing on the bracket unit test!
Make empty duration.formatted return forever

Very straight-forward commit, with effects that shall last -1 ticks...
forever!
Merge pull request #621 from mcmonkey4eva/master

Magic bug fixes pull request