Moved `captured` field, getter and setter from `Value` to `MethodOrValue` so we can do capture analysis on methods (see ceylon/ceylon-compiler#1001)