I found this very interesting article about coeliac disease (not to be confused with IBS). Although your symptoms may sound very much like coeliac disease self-diagnosis is not good and a blood test is required to give an accurate answer. One of the most common things we deal with in our clinic is IBS and the symptoms certainly mimic those of coeliac disease.
http://redondobeach.patch.com/articles/go-back-to-basics-for-healthy-eating