Fix M4 compatibility

Switched all instances of Future.immedate to Future.value

See https://groups.google.com/a/dartlang.org/forum/?fromgroups=#!topic/misc/3Ugug6ZKtOs for further details