[unifi-lts/f31] Remove hard dependency on mongodb and document in SETUP. Fix Requires for java to comply with guidel