Development of a prototype detector for the Gamma-RAy Polarimeter Experiment (GRAPE)