Well, I'm glad you can see some root causes of your idea that you are "Ugly". The people making fun of you because of your looks, everyone has that, even supermodels get that sometimes.
And I would assume that not 90% of your town isn't "Beautiful", but instead you look so far down upon yourself anyone but you is beautiful in one way or another.
And I doubt your boyfriend, if he is truly as good as a person as I would believe he is, wouldn't care if you were so unattractive, he would still love you.
And I know how this feels too. But the first step to having a problem is admitting you have one, or in this case, admitting your problem is THINKING you have one.
All I'm saying is, try to change your view. Focus on the postive. Look at how much better you look than others.