adding missing options for kmodule.xml editor

(cherry picked from commit 0383e0c9e0e31375b6769e8267882ab030a99640)
Missing options for PE. Still needs some work

(cherry picked from commit 5a57bca6e161067bd309afe2e083b01d98e2d9ed)
Saving the kmodule.xml should not be permitted if it is broken. Added a check for situations when the default kbase is not set

(cherry picked from commit ed3f13b91ce2079188603f4ea4b523224ce3a712)