Fixes #396, add workaround for dart2js bug.
Also makes an improvement to LinkedListIterator that was suggested by Florian

Review URL: https://chromiumcodereview.appspot.com//12637011