charge_only_mode: Upgrade graphics

Based on changes made by by T.Pruvot (CM Defy Team)

Change-Id: Iefe0e280664adeaa80d1e1f306432d95d0ea249c
Remove old dhcp leases on boot to prevent 'Obtaining IP Address' loop

Change-Id: Ib602b363ce3a6f0c4181efae3751cf16dea3000c
Remove lockscreen.rot_override, it's a user-configurable option now

Change-Id: I9ccba420c8b1eb359394eef7dd644ddea4f4fc1a
Revert "Disable Wifi Direct for now"

This reverts commit fc05430157703e9d042fa8172aaa8ed16eb3aba4.
Reduce size of wpa_supplicant.conf

If the file is big, WifiHW don't generate the config files.

Change-Id: Ic820b24d3e74ae93b5056be12958e9c667a1122c
Remove invalid p2p configuration, on boot

With p2p enabled, problems can occur if there's a invalid configuration
pointing to same socket as normal wpa_supplicant(wlan0). This script removes
the invalid configuration to avoid problems after upgrade.

Change-Id: I1ef88b67a25de4beb22c4133620972fda29053ac
Move ril to modules directory

Change-Id: If83c20f8d2746f4ccaf4e008754b53bfa669a791
Move gps hal to modules directory

Change-Id: Ib2f2d345be90ad43a57634b21f44aad9f3092e50
Add permissions for theme manager and auditd AID

Change-Id: Id8272aa7ad068825c042d12223c4e5549f0fbe20
Initial SELinux policy

Change-Id: I4418005601c657c2c6b9dbd0736f4e817d23832d
More sepolicy updates

Still need to figure out what's up with /data/media as camera
doesn't have permission to save files

Change-Id: I48d2b4f8be913526f11aeccdef796b5caa346dd4
selinux: allow adb push files

Change-Id: I5c1f8f8dfe5b522b3544a13ec713571e80ca5dda
selinux: Give camera proper permissions

Change-Id: Ia65fadcafb5da572807877a34ea5eb2d0f4932bf
selinux: More tweaks

Change-Id: I43103acec0fb1146412c942b699670bddd12352f
Merge pull request #9 from razrqcom-dev-team/cm-10.1

cm-10.1