Code cleanup and for-each loop boost
Cleanup license heading in source files
Modify licensing (mainly Nokia -> Digia) and wording in docs