Dunfermline were knocked off the top of the Scottish First Division after suffering a shock 3-1 home defeat to struggling Airdrie.