api: Deny swap between app incompatible (different platforms or
different number of units). You can force swap passing a force=true
parameter in api call. Closes #582