Linux port

Fixed some tiny bugs.
Added a standard .gitignore that will ignore object files, among other things.
Created a makefile that will build "libSDMCore.so"
Library now supports compiler definition "__SDM_CORE_LIB" that can be used to tell the library to use external include paths (as opposed to project-local).