I like the idea but my biggest problem isn't ingredients, it's eating out. Having this available on my phone when looking for a place to eat would be a real time saver.
If you really really want an app, you can get the code http://github.com/hasgluten/hasgluten and plug it in Cordova/PhoneGap.