Researchers have developed a new way of detecting homemade explosives which will help forensic scientists trace where it came from.