Makefile: s/CPUS/JOBS which is now $CPUCOUNT+1
transport-xmpp: Catch StateChangeListener exceptions

Schedule a reconnect if an exception is encountered when a
StateChangeListener is run by tryToConnect(). This should increase
overall connection stability and catch the following typical errors that
happen when the connection goes down while tryToConnect() is still run:

java.lang.IllegalStateException: Not connected to server.
at org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:492)
at org.jivesoftware.smackx.ServiceDiscoveryManager.discoverInfo(ServiceDiscoveryManager.java:550)
at org.jivesoftware.smackx.ServiceDiscoveryManager.discoverInfo(ServiceDiscoveryManager.java:512)
at org.projectmaxs.transport.xmpp.xmppservice.XMPPPrivacyList.isSupported(XMPPPrivacyList.java:137)
at org.projectmaxs.transport.xmpp.xmppservice.XMPPPrivacyList.connected(XMPPPrivacyList.java:85)
at org.projectmaxs.transport.xmpp.xmppservice.XMPPService.newState(XMPPService.java:353)
at org.projectmaxs.transport.xmpp.xmppservice.XMPPService.newState(XMPPService.java:338)
at org.projectmaxs.transport.xmpp.xmppservice.XMPPService.tryToConnect(XMPPService.java:537)
at org.projectmaxs.transport.xmpp.xmppservice.XMPPService.changeState(XMPPService.java:408)
at org.projectmaxs.transport.xmpp.xmppservice.XMPPService.connect(XMPPService.java:150)

java.lang.IllegalStateException: Not logged in to server.
at org.jivesoftware.smack.Roster.createEntry(Roster.java:274)
at org.projectmaxs.transport.xmpp.xmppservice.XMPPRoster.friendJid(XMPPRoster.java:131)
at org.projectmaxs.transport.xmpp.xmppservice.XMPPRoster.connected(XMPPRoster.java:63)
at org.projectmaxs.transport.xmpp.xmppservice.XMPPService.newState(XMPPService.java:352)
at org.projectmaxs.transport.xmpp.xmppservice.XMPPService.newState(XMPPService.java:337)
at org.projectmaxs.transport.xmpp.xmppservice.XMPPService.tryToConnect(XMPPService.java:539)
at org.projectmaxs.transport.xmpp.xmppservice.XMPPService.changeState(XMPPService.java:436)
at org.projectmaxs.transport.xmpp.xmppservice.XMPPService.connect(XMPPService.java:149)
Add new modules and some related code changes

- module-alarmset
- module-locationfine (MAXS-12)
- module-misc (MAXS-9)
- module-shell (MAXS-13)
- module-wifiaccess
- module-wifichange