Added max heap and perm size config variables.
Fixed Java startup arguments set to undef.

If e.g. $jenkins_max_heap_size was set and later removed from
the manifest the corresponding Java start argument was set to "undef"
which resulted in Jenkins not starting up.