AI restoration console shows ion laws

AI restoration console now displays ion laws just as the intelliCard does.
Fixes a minor problem with the intelliCard not adding newlines after ion laws.
far var actually handles empty lists just fine, there were cases where it iterated over some null elements there (probably elemnets deleted in wrong way), and you are doign check fro that anyway (the length one). So it could be written this way:
```
for (var/law in occupant.laws.ion)
    if(law)
       laws += "[ionnum()]: [law]<BR>"
```