Move HEAP_END and RAM_END to linker script

* Issue #232
Remove redundant include in file.c

* Remove include mpconfigport.h from file.c
Fix unused function warning in main

* Add SD card test to fix warning
Merge branch 'master' of github.com:iabdalkader/micropython
stm: Fix gccollect ram range.