BAGHDAD ( AP ) - A civilian contractor was shot and killed Sunday on an American military base in the Iraqi city of Tikrit and a U.S. soldier has been detained in connection with the incident , the military said .