Contextuality in foundations and quantum computation