1 the storie is about a special child (maybe 7-13 years old, think it was a girl)
2 there is a evil female thats hunt the child and those whom are with the child, and they travel by spaceships
3 i remeber that the female speaks to to child in the dreams and makes the child to travel alone in the night so the female can snatch the child
Those points make me think of
Ewoks: The Battle For Endor, how the witch woman captured the little girl.
http://www.imdb.com/title/tt0089110/4 at the end there is a half robot/male dude thats evil, but turns good and helps the good guys, but he dies in the process.
This, however, does not fit with that movie at all.