Convert return value to optional where appropriate

Now that we have compressed APEX, some of the field in ApexFile no
longer have values in them. We turned their getters to optional.

Bug: 172911820
Test: atest ApexTestCases
Change-Id: Ib502bc0c0c84fcb65e7995af5fa106ecdee1cf0c
5 files changed