sorry to hear about the incident...but everyone knows by now to stay away from black africans in libya; whether they are muslim or not makes no difference, and yes they due lie about their religious creed inorder to get a job. they only want to make enough money in any way possible inorder to catch a boat to italy, illegaly. in general they are desperate people who resort to desperate measures. one quarter lose their life in the second part of the trip across the sea, another quarter loses it in the first half crossing the desert...only to get to italy and find out that no one will ever give them a job, ever...so they end up in criminal activities, which is no news to them.
moving to a smaller place would be wiser, the apartment buildings across from Dat el Imad are new and very big in a very safe part of town, i wouldn't suggest foreigners to live in isolated villas in the outskirts, since they are an easy target.
plus you can always use cameras and motion-detector lights which are always an effective measure against thieves and the like.