merge: Makefile rewrites and merging. (expand this commit)

* Merged all stuff needed from msm7x27-common to this repo. (I think)
* Totally rewrote some makefiles. (They need testing)

TODO: BoardConfig.mk needs to be re-written. It works right now but it's ugly.

************

LEGAL NOTE:

I know I haven't fully included the licence headers,
however they will be put back in before this is pushed
to a primary branch. Also, removing the full licence header
is perfectly fine under the Apache licence, so please
refrain from losing your shit.

Ta,
- Benjamin