Homegrown mobile advertising firm InMobi is taking on giants like Google, Facebook and Apple – and thriving