Fixed pim bugs. idl files organized in Modules directory.

http://jira.mosync.com/browse/MOSYNC-3231
http://jira.mosync.com/browse/MOSYNC-312
http://jira.mosync.com/browse/MOSYNC-3228