LPaaS as Micro-intelligence: Enhancing IoT with Symbolic Reasoning