mapping-manager: Strip mapping and explain the code
Stripping is useful so that empty lines with spaces is detected as an empty line. This commit explains how the mapping is splitted, and explains why we check for the platform field in all the SDL string, not just the end.