Changes for a better working port.

I fixed the kernel panic that appeared on boot and made some other changes. Ubuntu now boots and so does the android container but still there are some graphics issues (ioctl and genlock) that are most probably caused by kernel and/or hardware/display_qcom. To fix it we can use newer qualcomm binary drivers but it needs some changes in these 2 repositories which I am not able to make. If someone wants to fix it I suggest installing mir_demos package on the device and run the demos, especially with "-n" option which sometimes makes them successfully run. Also, you can try to run unity8 (by user 'phablet') which will give you only first frame due to some vsync issues.