Bug 882363 - Make facebook appid customisable

This is just a PoC to review and give the pros and cons.

If we decided to go ahead, will rebase and put it nice ;P