Fix #1374 by adding a listpredict piece to the formspec

The format is listpredict[<take predict>,<put predict>]. -1 means the entire stack is allowed.

If listpredict is not there, then the current behavior (no prediction except for inter-player inventory) is used.